/**
* 版权声明：厦门睿商网络科技有限公司 版权所有 违者必究
* 日    期：2020-09-24
*/
package com.rzico.market.entity;

import lombok.Data;
import java.util.Date;
import javax.persistence.*;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * <pre>
 *   京东订单开票信息数据库对象
 * </pre>
 * @author Rzico Boot
 * @version 1.0
 */
@Data
@JsonIgnoreProperties(value = {"handler"})
@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "mk_market_order_apply")
public class MarketOrderApply{
    @Id
    @ApiModelProperty(value = "" )
    protected Long id;

    @ApiModelProperty(value = "创建日期" )
    protected java.util.Date createDate;

    @ApiModelProperty(value = "修改日期" )
    protected java.util.Date modifyDate;

    @JsonIgnore
    @ApiModelProperty(value = "是否删除" ,hidden = true )
    protected Boolean deleted;

    @ApiModelProperty(value = "来源订单" )
    protected Long orderId;

    @ApiModelProperty(value = "订单号" )
    protected String orderSn;

    @ApiModelProperty(value = "订单创建时间" )
    protected java.util.Date orderCreateDate;

    @ApiModelProperty(value = "送货单ID" )
    protected Long shippingId;

    @ApiModelProperty(value = "送货单编号" )
    protected String shippingSn;

    @ApiModelProperty(value = "发货单发货时间" )
    protected java.util.Date shippingSendDate;

    @ApiModelProperty(value = "送货单项ID" )
    protected Long shippingItemId;

    @ApiModelProperty(value = "京东父订单号" )
    protected String jdParentOrder;

    @ApiModelProperty(value = "京东子订单号" )
    protected String jdOrder;

    @ApiModelProperty(value = "结算总成本" )
    protected java.math.BigDecimal invoicePrice;

    @ApiModelProperty(value = "开票状态(0:未开票,1:已完成)" )
    protected Boolean state;

    @ApiModelProperty(value = "开票结果(0:未成功,1:成功)" )
    protected Boolean result;

    @ApiModelProperty(value = "结算单号" )
    protected String markid;

    @ApiModelProperty(value = "供应商(空为本部，若为京东供应商填与之相关的信息)" )
    protected Long supplierId;

    @ApiModelProperty(value = "归属企业" )
    protected Long enterpriseId;

    @JsonIgnore
    @ApiModelProperty(value = "创建者" ,hidden = true )
    protected String createBy;

    @JsonIgnore
    @ApiModelProperty(value = "更新者" ,hidden = true )
    protected String modifyBy;


}
